package com.service.wxconfig;

import com.alibaba.fastjson.JSONObject;
import com.bean.Js;
import com.bean.Member;
import com.bean.Wx_config;
import com.service.core.BaseService;

import javax.servlet.http.HttpServletRequest;

/**
 * 微信配置业务模块
 */
public interface WxConfigService extends BaseService<Wx_config,Integer> {
     JSONObject getWxUserByOpenId(String openId, String access_token);

     void addUserInfo(JSONObject userJson);

     JSONObject getOpenId(String code);

     Member setMemberData(String code,Integer parentId);

   String processRequest(HttpServletRequest request);

    public String getAccessToken(String appId, String appSecret);
}
